<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
</head>
<body>
	<div id="app"></div>
</body>
<script>
	const { render, h } = Vue;
	// 生成vnode
	const vnode = h('div', {
		class: 'test',
	}, 'hello world');
	const container = document.getElementById('app');
	// 渲染vnode
	render(vnode, container, true);
</script>
</html>